//
//  HWHomeModel.swift
//  HWPromoteProjectAPP
//
//  Created by 王昌健 on 2022/2/8.
//  Copyright © 2022 王昌健. All rights reserved.
//

import UIKit
import HandyJSON
class HWHomeModel: HandyJSON {
    required init() {}
    
    /// 功能
    var nav:[HWHomeNavModel] = []
    /// 数据
    var shuju = HWHomeDataModel()
    
    /// 排行榜
    var paihangbang:[HWHomeRankListModel] = []
}

class HWHomeNavModel: HandyJSON {
    required init() {}
    
    /// 名称
    var name = ""
    /// 图标
    var icon = ""
    /// 类型
    var type = 0
    /// H5页面 优先判断
    var url = ""
    
}

class HWHomeDataModel: HandyJSON {
    required init() {}
    
    /// 注册
    var reg = ""
    /// 付费率
    var fufeilv = ""
    /// 充值人数
    var pay = ""
    /// 充值金额
    var money = ""
    /// 下载量
    var down = HWHomeDownModel()
}

class HWHomeDownModel: HandyJSON {
    required init() {}
    
    /// 日期
    var day:[String] = []
    /// 数量
    var num:[Double] = []
    
}

class HWHomeRankListModel: HandyJSON {
    required init() {}
    
    /// 用户名
    var name = ""
    /// 第几名
    var note = ""
    /// 数量
    var num = ""
}
